Skip to main content

linkClicked

Type

message

Summary

Sent when the user clicks on a link annotation

Syntax

linkClicked <pAction>

Description

This message is sent to the widget when the user clicks on a link annotation. Handle the message to navigate to the link target.

Parameters

NameTypeDescription

pAction

An array that may contain the following keys:

  • "type": one of goto, remotegoto, launch, uri or unsupported
  • "filename": remotegoto or launch types
  • "uripath": uri type only
  • "page": goto type only
  • "mode": goto type only. The value will be one of:"XYZ", "Fit", "FitH", "FitV", "FitR", "FitB", "FitBH", "FitBV"
  • "left": goto type and XYZ, FitV, FitBV & FitR modes
  • "top": goto type and XYZ, FitH, FitBH & FitR modes
  • "right": goto type and FitR mode
  • "bottom": goto type and FitR mode
  • "zoom": goto type and XYZ mode- "rect": the rectangle of the link at the current scroll and zoom in stack coordinates

Compatibility and Support

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile